<?php
return array(
	//'配置项'=>'配置值'
    'DB_TYPE'               =>  'mysql',     // 数据库类型
    'DB_DSN'               =>  'mysql:host=localhost;dbname=lbx_shop;charset=utf8', // 服务器地址
    'DB_USER'               =>  'root',      // 用户名
    'DB_PWD'                =>  '',          // 密码
    'DB_PORT'               =>  '3306',        // 端口
    'DB_PREFIX'             =>  'lbx_',    // 数据库表前缀
    'DEFAULT_FILTER'        =>  'trim,htmlspecialchars',
    'SHOW_PAGE_TRACE'       =>  true,
    'IMAGE_CONFIG' =>array(
       'maxSize'   =>1024 * 1024,
        'exts'     => array('jpg','jpeg','png','gif'),
        'rootPath' =>'./Public/Uploads/',//设置附件上传目录
        'viewPath'=> 'http://www.shop.com/Public/Uploads/',          //设置附件上传子目录
    ),
        'HTML_CACHE_RULES' =>array(
        'index:index'=>array('index',86400),
        'index:goods'=>array('goods-{id}',86400)
      ),
    //发票信息配置
    'INV_CONTENT' =>array("明细",'办公用品','体育休闲','耗树'),
);